
// (powered by Fernflower decompiler)
//

package lab02.test17;

public class test17 {
    public test17() {
    }

    public static void main(String[] args) {
        int[] numbers = new int[10];
        numbers[0] = 10;
        numbers[1] = 20;
        numbers[2] = 30;
        numbers[3] = 40;
        numbers[4] = 50;

        int i;
        for(i = 0; i < 5;i++);
        System.out.println(numbers[i]);
        int max = 0;
        int j;
        for(j = 0; j < numbers.length; j++)
        {
        if (numbers[j] > max)
            max=numbers[j];
        }


        System.out.println("max is :" + max);
        System.out.println(numbers[i]);
    }
}

